package cn.unknowpupil.init.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created at 2020/11/4 by w10g <br>
 * Initialize CodeEnum ... <br>
 *
 * @author unknowpupil
 * @since 0.0.1
 */
@Getter
@AllArgsConstructor
public enum CodeEnum {

    /* 通过手机号码重置邮箱 */
    PHONE_RESET_EMAIL_CODE("phone_reset:email_code:", "通过手机号码重置邮箱"),

    /* 通过旧邮箱重置邮箱 */
    EMAIL_RESET_EMAIL_CODE("email_reset:email_code:", "通过旧邮箱重置邮箱"),

    /* 通过手机号码重置密码 */
    PHONE_RESET_PWD_CODE("phone_reset:pwd_code:", "通过手机号码重置密码"),

    /* 通过邮箱重置密码 */
    EMAIL_RESET_PWD_CODE("email_reset:pwd_code:", "通过邮箱重置密码");

    private final String key;
    private final String description;
}
